import stick from "./stick/index";

// 自定义指令对象，用于遍历注册
const directives = {
  stick
};
// 批量注册指令并暴露到main.js中去便于注册use
export default {
  install(Vue) {
    Object.keys(directives).forEach(key => {
      Vue.directive(key, directives[key]);
    });
  }
};
